package com.ruoyi.member.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * #销售单管理对象 bm_inorderlist
 * 
 * @author ruoyi
 * @date 2023-08-03
 */
public class BmInorderlist extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderCode;

    private List<BmInordergoodslist> bmInordergoodslists;

    public List<BmInordergoodslist> getBmInordergoodslists() {
        return bmInordergoodslists;
    }

    public void setBmInordergoodslists(List<BmInordergoodslist> bmInordergoodslists) {
        this.bmInordergoodslists = bmInordergoodslists;
    }

    /** 店铺id */
    @Excel(name = "店铺id")
    private Long sellerId;

    /** 配送费 */
    @Excel(name = "配送费")
    private BigDecimal deliveryFee;

    /** 订单金额 */
    @Excel(name = "订单金额")
    private BigDecimal amount;

    /** 支付方式 */
    @Excel(name = "支付方式")
    private Long payType;

    /** 订单步骤 */
    @Excel(name = "订单步骤")
    private Long orderStep;

    /** 配送地址id */
    @Excel(name = "配送地址id")
    private String deliveryAddressId;

    /** 支付时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "支付时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date payTime;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private Long orderState;

    /** 订单配送步骤记录 */
    @Excel(name = "订单配送步骤记录")
    private String orderStepRecord;

    /** 仓库管理人员id */
    @Excel(name = "仓库管理人员id")
    private Long warehouserId;

    private String warehouseCode;

    private String address;

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    /** 物流人员id */
    @Excel(name = "物流人员id")
    private Long logisticsId;

    private Integer num;

    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    /** 订单备注 */
    @Excel(name = "订单备注")
    private String mark;

    public void setOrderCode(String orderCode) 
    {
        this.orderCode = orderCode;
    }

    public String getOrderCode() 
    {
        return orderCode;
    }
    public void setSellerId(Long sellerId) 
    {
        this.sellerId = sellerId;
    }

    public Long getSellerId() 
    {
        return sellerId;
    }
    public void setDeliveryFee(BigDecimal deliveryFee) 
    {
        this.deliveryFee = deliveryFee;
    }

    public BigDecimal getDeliveryFee() 
    {
        return deliveryFee;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setPayType(Long payType) 
    {
        this.payType = payType;
    }

    public Long getPayType() 
    {
        return payType;
    }
    public void setOrderStep(Long orderStep) 
    {
        this.orderStep = orderStep;
    }

    public Long getOrderStep() 
    {
        return orderStep;
    }
    public void setDeliveryAddressId(String deliveryAddressId) 
    {
        this.deliveryAddressId = deliveryAddressId;
    }

    public String getDeliveryAddressId() 
    {
        return deliveryAddressId;
    }
    public void setPayTime(Date payTime) 
    {
        this.payTime = payTime;
    }

    public Date getPayTime() 
    {
        return payTime;
    }
    public void setOrderState(Long orderState) 
    {
        this.orderState = orderState;
    }

    public Long getOrderState() 
    {
        return orderState;
    }
    public void setOrderStepRecord(String orderStepRecord) 
    {
        this.orderStepRecord = orderStepRecord;
    }

    public String getOrderStepRecord() 
    {
        return orderStepRecord;
    }
    public void setWarehouserId(Long warehouserId) 
    {
        this.warehouserId = warehouserId;
    }

    public Long getWarehouserId() 
    {
        return warehouserId;
    }
    public void setLogisticsId(Long logisticsId) 
    {
        this.logisticsId = logisticsId;
    }

    public Long getLogisticsId() 
    {
        return logisticsId;
    }
    public void setMark(String mark) 
    {
        this.mark = mark;
    }

    public String getMark() 
    {
        return mark;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderCode", getOrderCode())
            .append("sellerId", getSellerId())
            .append("deliveryFee", getDeliveryFee())
            .append("amount", getAmount())
            .append("payType", getPayType())
            .append("orderStep", getOrderStep())
            .append("deliveryAddressId", getDeliveryAddressId())
            .append("createTime", getCreateTime())
            .append("payTime", getPayTime())
            .append("orderState", getOrderState())
            .append("orderStepRecord", getOrderStepRecord())
            .append("warehouserId", getWarehouserId())
            .append("logisticsId", getLogisticsId())
            .append("mark", getMark())
            .toString();
    }
}
